package net.learn.system.convert;

import net.learn.system.entity.SysAnswerEntity;
import net.learn.system.entity.SysFillEntity;
import net.learn.system.vo.SysAnswerVO;
import net.learn.system.vo.SysFillVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysAnswerConvert {
    SysAnswerConvert INSTANCE = Mappers.getMapper(SysAnswerConvert.class);

    SysAnswerVO convert(SysAnswerEntity entity);

    SysAnswerEntity convert(SysAnswerVO vo);

    List<SysAnswerVO> convertList(List<SysAnswerEntity> list);

}
